package com.roundarch.www.model;

import java.util.Date;
import java.util.Set;

import com.roundarch.www.DataEntity;

public class Post extends DataEntity {
	
	private static final long serialVersionUID = -1L;
	
	private String title;
	private String body;
	private Date createdDate = new Date();
	private User owner;
	private Set<Comment> comments; 
	private Set<Files> files; 
	
	public Set<Files> getFiles() {
		return files;
	}
	public void setFiles(Set<Files> files) {
		this.files = files;
	}
	public Set<Comment> getComments() {
		return comments;
	}
	public void setComments(Set<Comment> comments) {
		this.comments = comments;
	}
	public User getOwner() {
		return owner;
	}
	public void setOwner(User owner) {
		this.owner = owner;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getBody() {
		return body;
	}
	public void setBody(String body) {
		this.body = body;
	}
	public Date getCreatedDate() {
		return createdDate;
	}
	public void setCreatedDate(Date createdDate) {
		this.createdDate = createdDate;
	}
	
	
}
